home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Prograph Reference Manual / Prograph Reference 5-7 / Prograph Reference 5-7.rsrc / TEXT_162.txt < prev    next >
Encoding:
Text File  |  1995-10-25  |  1.4 KB  |  52 lines

  1.  
  2.  Instances
  3.  
  4.  
  5. _________________________________________________
  6.  
  7.                                                find-instance    *281*
  8.  
  9.  
  10.  
  11. Input names: aList;  AttributeName;  Value;  [StartIndex]
  12.  
  13. Input types: list;  string;  <any>;  [integer]
  14.  
  15. Defaults: StartIndex = 1
  16.  
  17. Output names: FoundIndex;  Instance
  18.  
  19. Output types: integer;  <any class> | null
  20.  
  21. Description:     Instance is the first instance after position StartIndex in aList with an attribute AttributeName, the value of which is Value. FoundIndex is the position of Instance in aList. If no such instance exists, FoundIndex and Instance are 0 and NULL respectively. 
  22.  
  23. See also:  find-bounds
  24.  
  25.  
  26. _________________________________________________
  27.  
  28.                                          inst-to-list     *281*
  29.  
  30.  
  31. Input types: <any class>
  32.  
  33. Output types: string;  list
  34.  
  35. Description:     Class is the type of Instance. AList is the list of values of instance attributes of Instance.
  36.  
  37. See also:  list-to-inst
  38.  
  39.  
  40. _________________________________________________
  41.  
  42.                                         list-to-inst     *282*
  43.  
  44.  
  45. Input types: string;  list
  46.  
  47. Output types: <any class>
  48.  
  49. Description:     Instance is an instance of the class named Class. The instance attributes of Instance have values specified by aList. The class named Class must exist, and the number of its instance attributes must equal the length of aList.
  50.  
  51. See also:  inst-to-list
  52.